package com.g5.edu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.g5.edu.model.DfTeachersInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* <p>
    * 老师信息 Mapper 接口
    * </p>
*
* @author admin
* @since 2021-10-29
*/
@Mapper
public interface DfTeachersInfoMapper extends BaseMapper<DfTeachersInfo> {

    @Select("select * from df_teachers_info limit #{num}")
    List<DfTeachersInfo> getTeacherList(Integer num);


    @Select("select * from df_teachers_info")
    List<DfTeachersInfo> getTeacherinfo();
}
